package cn.iocoder.yudao.module.trade.api.brokerage;

import cn.iocoder.yudao.module.trade.api.brokerage.dto.BrokerageWithdrawRespDTO;

public interface BrokerageWithdrawApi {
    /**
     * @param merchantTransferId id
     * @return 根据id查询当前提现的参数
     */
    BrokerageWithdrawRespDTO getBrokerageWithdrawById(String merchantTransferId);

    /**
     * 更新提现订单的备注信息
     *
     * @param merchantTransferId 佣金提现订单的Id
     * @param channelErrorMsg    异常信息
     */
    void updateBrokerageWithdrawRemark(String merchantTransferId, String channelErrorMsg);
}
